package cn.yunhe.entity;

import java.util.Date;

public class Record {
	private int recordId;
	private Account fromAccount;
	private Account toAccount;
	private Date recordTime;
	private double transactionMoney;
	public Record() {
		
	}
	public Record(Account fromAccount, Account toAccount, Date recordTime) {
		this.fromAccount = fromAccount;
		this.toAccount = toAccount;
		this.recordTime = recordTime;
	}
	public int getRecordId() {
		return recordId;
	}
	public void setRecordId(int recordId) {
		this.recordId = recordId;
	}
	public Account getFromAccount() {
		return fromAccount;
	}
	public void setFromAccount(Account fromAccount) {
		this.fromAccount = fromAccount;
	}
	public Account getToAccount() {
		return toAccount;
	}
	public void setToAccount(Account toAccount) {
		this.toAccount = toAccount;
	}
	public Date getRecordTime() {
		return recordTime;
	}
	public void setRecordTime(Date recordTime) {
		this.recordTime = recordTime;
	}
	public double getTransactionMoney() {
		return transactionMoney;
	}
	public void setTransactionMoney(double transactionMoney) {
		this.transactionMoney = transactionMoney;
	}
	
	
}
